package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjAdmSmsReceiveRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 后台短信接收角色表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2024-05-22
 */
@Repository
public interface ZjAdmSmsReceiveRoleMapper extends BaseMapper<ZjAdmSmsReceiveRole> {

    /**
     * 根据后台短信模板ID删除接收角色类型
     * @param admSmsTemplateId 后台短信模板ID
     */
    int deleteByAdmSmsTemplateId(@Param("admSmsTemplateId") Long admSmsTemplateId);

}
